import request from '../utils/request'

export function getUserAttitude(vid) {
    return request({
        url: '/user/attitude',
        method: 'get',
        params: {
            vid: vid
        }
    })
}

// 点赞或点踩
export function goodOrNot(vid, isLove, isSet) {
    return request({
        url: '/user/video/love-or-not',
        method: 'post',
        params: {
            vid: vid,
            isLove: isLove,
            isSet: isSet
        }
    })
}
